package cn.ycl.enums;

/**
 * @author YuanChangLiang
 * @description
 * @date created in 15:41 2021/10/19
 */


public enum  OrderTypeEnum {

    /**
     * 秒杀订单
     */
    SECKILL_ORDER(1,"秒杀订单"),
    NORMAL_ORDER(2,"普通订单");

    /**
     * 订单类型
     */
    Integer type;

    /**
     * 订单名称
     */
    String name;

    OrderTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
